package io;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;

/**
 * 说明:
 *
 * @author:SuZhongHe
 * @date:2023/3/7
 **/
public class FISDemo {
    public static void main(String[] args) throws IOException {
        FileInputStream fis = new FileInputStream("fos.txt");
        int i = fis.read();
        System.out.println(i);
        i = fis.read();
        System.out.println(i);
        i = fis.read();
        System.out.println(i);
        i = fis.read();
        System.out.println(i);
        i = fis.read();
        System.out.println(i);
        i = fis.read();
        System.out.println(i);
        fis.close();

    }
}
